<div id="email-active-success">

    <div class="title">
        Email Active Info
    </div>
    <div class="content">

        <form action="__APP__/SetMail/update" method="post">
            <input type="hidden" name="id" value="<{$data.id}>" />
            <table>

                <tr>
                    <th>
                        Enable：
                    </th>
                    <eq name="data.status" value="1">
                        <td><input type="radio" checked="checked" name="status" value="1" />Yes
                            <input type="radio" name="status" value="0" />No
                            <else />
                        <td><input type="radio" name="status" value="1" />Yes
                            <input type="radio" name="status" checked="checked" value="0" />No
                    </eq>

                </tr>

                <tr>
                    <th>Title：</th><td><input type="text" class="text" name="title" value="<{$data.title}>" /></td>
                </tr>

                <tr>
                    <th>Tip：</th><td>
                    <span style="background: #EFF3F6">
                    使用 %username%代表用户名称 %activeurl%代表激活链接 %date%代表当前时间
                    </span></td>
                </tr>

                <tr><th class="top">Content：</th><td><textarea name="content" class="textarea" style="height:663px;" ><{$data.content}></textarea></td></tr>

                <tr><th></th><td><input type="submit" class="submit" value="修改配置" /></td></tr>

            </table>

        </form>

    </div>
</div>

<script type="text/javascript" src="__PUBLIC__/js/kindeditor/kindeditor-min.js"></script>
<script>
    var editor;
    KindEditor.ready(function(K) {
        editor = K.create('textarea[name="content"]', {
            langType : 'en',
            newlineTag : 'br',
            resizeType : 0,
            allowPreviewEmoticons : true,
            allowImageUpload : true,
            items : [
                'source', '|','fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                'insertunorderedlist', '|', 'emoticons', 'image', 'link']
        });
    });
</script>